package com.bilubi.reggie.reggie.enums;


import lombok.Getter;
import lombok.Setter;

@Getter
public enum CodeEnum {

    OK(1, "OK"),
    LOGIN_ERROR(0, "Login Error"),
    NOT_LOGIN(0, "NOTLOGIN"),
    ADD_ERROR(0, "Add Error"),
    UNKNOWN_ERROR(0, "Unknown Error"),
    CATEGORY_ERROR_DISH(0, "Category Error Dish"),
    CATEGORY_ERROR_SETMEAL(0, "Category Error Setmeal"),
    PHONE_ERROR(0, "Phone Error"),
    CODE_ERROR(0, "Code Error");

    private Integer code;
    private String msg;

    CodeEnum(){

    }

    CodeEnum(Integer code, String msg){
        this.code = code;
        this.msg = msg;
    }
}
